package com.fenghuajueli.idiomppp.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "idiomxxx",createInDb = false)
public class IdiomXiaoDbEntity {

    @Id
    @Property(nameInDb = "id")
    private Long id;
    @Property(nameInDb = "grade")
    private int grade;
    @Property(nameInDb = "level")
    private int level;
    @Property(nameInDb = "idioms")
    private String idioms;
    @Property(nameInDb = "repeat_idioms")
    private String repeat_idioms;

    @Generated(hash = 967191621)
    public IdiomXiaoDbEntity(Long id, int grade, int level, String idioms,
                             String repeat_idioms) {
        this.id = id;
        this.grade = grade;
        this.level = level;
        this.idioms = idioms;
        this.repeat_idioms = repeat_idioms;
    }

    @Generated(hash = 770652826)
    public IdiomXiaoDbEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getGrade() {
        return this.grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getLevel() {
        return this.level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getIdioms() {
        return this.idioms;
    }

    public void setIdioms(String idioms) {
        this.idioms = idioms;
    }

    public String getRepeat_idioms() {
        return this.repeat_idioms;
    }

    public void setRepeat_idioms(String repeat_idioms) {
        this.repeat_idioms = repeat_idioms;
    }


}
